Dynomotion

Group: DynoMotion Message: 9144 From: Hugh Sontag Date: 2/6/2014
Subject: Re: VFD commands
Thanks, Eric for info on your VFD. My VFD is a Huanyang 2.2 KW unit, it uses a form of RS-485 for communication (it's supposed to MODBUS, but apparently it's not quite).

Today I got my KFLOP talking to the VFD using a hardware RS-485 converter connected to the UART on the KFLOP, and have M3, M4, M5 and S commands that execute user C programs to control the VFD from G-Code.

Hugh


On Thu, Feb 6, 2014 at 8:56 AM, ericnc <ericnc@...> wrote:
Hi Hugh,

yes I've been successful using the "modpoll" utility.
My VFD is a Schneider one, I've bought a USB interface (made from Schneider too) that converts from USB to modbus.
That's made for using their own VFD setup application but luckily, as I hoped, once its drivers are installed they create a virtual COM port and the modpoll utility manages to talk with it via the COM port.

I am willing to help (also we can talk on the mailing list, I never use this email directly) but I really know nothing about Huanyang spindle!
I am a bit in difficulty myself, I can only tell what I've done in my own setup

EC


On 05/02/2014 23:42, Hugh Sontag wrote:> Hi Eric,
>
> I'm working on getting my VFD to accept commands from KFLOP via RS-485.
>
> I noticed that you've been successful sending commands to your VFD via a
> USB adapter.
>
> What VFD are you using? Mine is a Huanyang 2.2 KW spindle. It has an
> RS-485 port.
>
> If you also have a Huanyang spindle, could you tell me what commands you
> send to it? I believe you're using modpoll. I've not yet been able to
> get the VFD to respond to the things I've sent it, and I'm hoping to get
> modpoll to talk to it, so I can learn what might be needed to make the
> KFLOP-direct connection work.
>
> Thanks for the info,
>
> Hugh Sontag
>

Group: DynoMotion Message: 9146 From: ericncn Date: 2/7/2014
Subject: Re: VFD commands
Hugh,

could you tell what is this hardware RS-485 converter connected to the UART on the KFLOP and where do I buy it?

If that's a easy solution that works out of the box and requires no soldering, I'm very interested in it!

EC

---In DynoMotion@yahoogroups.com, <hsontag@...> wrote:


Thanks, Eric for info on your VFD. My VFD is a Huanyang 2.2 KW unit, it uses a form of RS-485 for communication (it's supposed to MODBUS, but apparently it's not quite).

Today I got my KFLOP talking to the VFD using a hardware RS-485 converter connected to the UART on the KFLOP, and have M3, M4, M5 and S commands that execute user C programs to control the VFD from G-Code.

Hugh


On Thu, Feb 6, 2014 at 8:56 AM, ericnc <ericnc@...> wrote:
Hi Hugh,

yes I've been successful using the "modpoll" utility.
My VFD is a Schneider one, I've bought a USB interface (made from Schneider too) that converts from USB to modbus.
That's made for using their own VFD setup application but luckily, as I hoped, once its drivers are installed they create a virtual COM port and the modpoll utility manages to talk with it via the COM port.

I am willing to help (also we can talk on the mailing list, I never use this email directly) but I really know nothing about Huanyang spindle!
I am a bit in difficulty myself, I can only tell what I've done in my own setup

EC


On 05/02/2014 23:42, Hugh Sontag wrote:> Hi Eric,
>
> I'm working on getting my VFD to accept commands from KFLOP via RS-485.
>
> I noticed that you've been successful sending commands to your VFD via a
> USB adapter.
>
> What VFD are you using? Mine is a Huanyang 2.2 KW spindle. It has an
> RS-485 port.
>
> If you also have a Huanyang spindle, could you tell me what commands you
> send to it? I believe you're using modpoll. I've not yet been able to
> get the VFD to respond to the things I've sent it, and I'm hoping to get
> modpoll to talk to it, so I can learn what might be needed to make the
> KFLOP-direct connection work.
>
> Thanks for the info,
>
> Hugh Sontag
>

Group: DynoMotion Message: 9147 From: Hugh Sontag Date: 2/7/2014
Subject: Re: VFD commands
I made the converter. I am considering offering the converter on a PCB for $20.

It has to be wired into JP7 of the KFLOP, so soldering of the wires between the 26-pin ribbon cable and the converter is required.

But the software is written to control the Huanyang VFD only, so it's not a plug-and-play solution for you. Changes would have to be made to the software to control your Schneider VFD.

Hugh


On Fri, Feb 7, 2014 at 8:07 AM, <ericnc@...> wrote:
 

Hugh,

could you tell what is this hardware RS-485 converter connected to the UART on the KFLOP and where do I buy it?

If that's a easy solution that works out of the box and requires no soldering, I'm very interested in it!

EC

---In DynoMotion@yahoogroups.com, <hsontag@...> wrote:


Thanks, Eric for info on your VFD. My VFD is a Huanyang 2.2 KW unit, it uses a form of RS-485 for communication (it's supposed to MODBUS, but apparently it's not quite).

Today I got my KFLOP talking to the VFD using a hardware RS-485 converter connected to the UART on the KFLOP, and have M3, M4, M5 and S commands that execute user C programs to control the VFD from G-Code.

Hugh


On Thu, Feb 6, 2014 at 8:56 AM, ericnc <ericnc@...> wrote:
Hi Hugh,

yes I've been successful using the "modpoll" utility.
My VFD is a Schneider one, I've bought a USB interface (made from Schneider too) that converts from USB to modbus.
That's made for using their own VFD setup application but luckily, as I hoped, once its drivers are installed they create a virtual COM port and the modpoll utility manages to talk with it via the COM port.

I am willing to help (also we can talk on the mailing list, I never use this email directly) but I really know nothing about Huanyang spindle!
I am a bit in difficulty myself, I can only tell what I've done in my own setup

EC


On 05/02/2014 23:42, Hugh Sontag wrote:> Hi Eric,
>
> I'm working on getting my VFD to accept commands from KFLOP via RS-485.
>
> I noticed that you've been successful sending commands to your VFD via a
> USB adapter.
>
> What VFD are you using? Mine is a Huanyang 2.2 KW spindle. It has an
> RS-485 port.
>
> If you also have a Huanyang spindle, could you tell me what commands you
> send to it? I believe you're using modpoll. I've not yet been able to
> get the VFD to respond to the things I've sent it, and I'm hoping to get
> modpoll to talk to it, so I can learn what might be needed to make the
> KFLOP-direct connection work.
>
> Thanks for the info,
>
> Hugh Sontag
>


Group: DynoMotion Message: 9154 From: David Stevenson Date: 2/7/2014
Subject: Re: VFD commands
Hi Hugh,

Do you use a Kanalog in your system? Isn't that the only place there is a UART?

Thanks,
David.

On 2/7/2014 11:26 AM, Hugh Sontag wrote:
 
I made the converter. I am considering offering the converter on a PCB for $20.

It has to be wired into JP7 of the KFLOP, so soldering of the wires between the 26-pin ribbon cable and the converter is required.

But the software is written to control the Huanyang VFD only, so it's not a plug-and-play solution for you. Changes would have to be made to the software to control your Schneider VFD.

Hugh


On Fri, Feb 7, 2014 at 8:07 AM, <ericnc@...> wrote:
 

Hugh,

could you tell what is this hardware RS-485 converter connected to the UART on the KFLOP and where do I buy it?

If that's a easy solution that works out of the box and requires no soldering, I'm very interested in it!

EC

---In DynoMotion@yahoogroups.com, <hsontag@...> wrote:


Thanks, Eric for info on your VFD. My VFD is a Huanyang 2.2 KW unit, it uses a form of RS-485 for communication (it's supposed to MODBUS, but apparently it's not quite).

Today I got my KFLOP talking to the VFD using a hardware RS-485 converter connected to the UART on the KFLOP, and have M3, M4, M5 and S commands that execute user C programs to control the VFD from G-Code.

Hugh


On Thu, Feb 6, 2014 at 8:56 AM, ericnc <ericnc@...> wrote:
Hi Hugh,

yes I've been successful using the "modpoll" utility.
My VFD is a Schneider one, I've bought a USB interface (made from Schneider too) that converts from USB to modbus.
That's made for using their own VFD setup application but luckily, as I hoped, once its drivers are installed they create a virtual COM port and the modpoll utility manages to talk with it via the COM port.

I am willing to help (also we can talk on the mailing list, I never use this email directly) but I really know nothing about Huanyang spindle!
I am a bit in difficulty myself, I can only tell what I've done in my own setup

EC


On 05/02/2014 23:42, Hugh Sontag wrote:> Hi Eric,
>
> I'm working on getting my VFD to accept commands from KFLOP via RS-485.
>
> I noticed that you've been successful sending commands to your VFD via a
> USB adapter.
>
> What VFD are you using? Mine is a Huanyang 2.2 KW spindle. It has an
> RS-485 port.
>
> If you also have a Huanyang spindle, could you tell me what commands you
> send to it? I believe you're using modpoll. I've not yet been able to
> get the VFD to respond to the things I've sent it, and I'm hoping to get
> modpoll to talk to it, so I can learn what might be needed to make the
> KFLOP-direct connection work.
>
> Thanks for the info,
>
> Hugh Sontag
>



Group: DynoMotion Message: 9161 From: Hugh Sontag Date: 2/7/2014
Subject: Re: VFD commands
I don't have a Kanalog in my system. There is a UART on the KFLOP. The Kanalog, I believe, has a RS-232 driver on it, but not the UART. The UART on the KFLOP connects to the RS-232 driver on the Kanalog. 

Remember that MODBUS, which is what most of the VFD's implement, I believe, uses RS-485, not RS-232. The signal levels for RS-232 are not compatible with RS-485.

Hugh



On Fri, Feb 7, 2014 at 2:52 PM, David Stevenson <david.m.stevenson@...> wrote:
 

Hi Hugh,

Do you use a Kanalog in your system? Isn't that the only place there is a UART?

Thanks,
David.

On 2/7/2014 11:26 AM, Hugh Sontag wrote:
 
I made the converter. I am considering offering the converter on a PCB for $20.

It has to be wired into JP7 of the KFLOP, so soldering of the wires between the 26-pin ribbon cable and the converter is required.

But the software is written to control the Huanyang VFD only, so it's not a plug-and-play solution for you. Changes would have to be made to the software to control your Schneider VFD.

Hugh


On Fri, Feb 7, 2014 at 8:07 AM, <ericnc@...> wrote:
 

Hugh,

could you tell what is this hardware RS-485 converter connected to the UART on the KFLOP and where do I buy it?

If that's a easy solution that works out of the box and requires no soldering, I'm very interested in it!

EC

---In DynoMotion@yahoogroups.com, <hsontag@...> wrote:


Thanks, Eric for info on your VFD. My VFD is a Huanyang 2.2 KW unit, it uses a form of RS-485 for communication (it's supposed to MODBUS, but apparently it's not quite).

Today I got my KFLOP talking to the VFD using a hardware RS-485 converter connected to the UART on the KFLOP, and have M3, M4, M5 and S commands that execute user C programs to control the VFD from G-Code.

Hugh


On Thu, Feb 6, 2014 at 8:56 AM, ericnc <ericnc@...> wrote:
Hi Hugh,

yes I've been successful using the "modpoll" utility.
My VFD is a Schneider one, I've bought a USB interface (made from Schneider too) that converts from USB to modbus.
That's made for using their own VFD setup application but luckily, as I hoped, once its drivers are installed they create a virtual COM port and the modpoll utility manages to talk with it via the COM port.

I am willing to help (also we can talk on the mailing list, I never use this email directly) but I really know nothing about Huanyang spindle!
I am a bit in difficulty myself, I can only tell what I've done in my own setup

EC


On 05/02/2014 23:42, Hugh Sontag wrote:> Hi Eric,
>
> I'm working on getting my VFD to accept commands from KFLOP via RS-485.
>
> I noticed that you've been successful sending commands to your VFD via a
> USB adapter.
>
> What VFD are you using? Mine is a Huanyang 2.2 KW spindle. It has an
> RS-485 port.
>
> If you also have a Huanyang spindle, could you tell me what commands you
> send to it? I believe you're using modpoll. I've not yet been able to
> get the VFD to respond to the things I've sent it, and I'm hoping to get
> modpoll to talk to it, so I can learn what might be needed to make the
> KFLOP-direct connection work.
>
> Thanks for the info,
>
> Hugh Sontag
>




Group: DynoMotion Message: 9166 From: David Stevenson Date: 2/7/2014
Subject: Re: VFD commands
Thanks Hugh.

I do understand the difference between RS232 and RS485.

David

On 2/7/2014 5:45 PM, Hugh Sontag wrote:
 
I don't have a Kanalog in my system. There is a UART on the KFLOP. The Kanalog, I believe, has a RS-232 driver on it, but not the UART. The UART on the KFLOP connects to the RS-232 driver on the Kanalog. 

Remember that MODBUS, which is what most of the VFD's implement, I believe, uses RS-485, not RS-232. The signal levels for RS-232 are not compatible with RS-485.

Hugh



On Fri, Feb 7, 2014 at 2:52 PM, David Stevenson <david.m.stevenson@...> wrote:
 

Hi Hugh,

Do you use a Kanalog in your system? Isn't that the only place there is a UART?

Thanks,
David.

On 2/7/2014 11:26 AM, Hugh Sontag wrote:
 
I made the converter. I am considering offering the converter on a PCB for $20.

It has to be wired into JP7 of the KFLOP, so soldering of the wires between the 26-pin ribbon cable and the converter is required.

But the software is written to control the Huanyang VFD only, so it's not a plug-and-play solution for you. Changes would have to be made to the software to control your Schneider VFD.

Hugh


On Fri, Feb 7, 2014 at 8:07 AM, <ericnc@...> wrote:
 

Hugh,

could you tell what is this hardware RS-485 converter connected to the UART on the KFLOP and where do I buy it?

If that's a easy solution that works out of the box and requires no soldering, I'm very interested in it!

EC

---In DynoMotion@yahoogroups.com, <hsontag@...> wrote:


Thanks, Eric for info on your VFD. My VFD is a Huanyang 2.2 KW unit, it uses a form of RS-485 for communication (it's supposed to MODBUS, but apparently it's not quite).

Today I got my KFLOP talking to the VFD using a hardware RS-485 converter connected to the UART on the KFLOP, and have M3, M4, M5 and S commands that execute user C programs to control the VFD from G-Code.

Hugh


On Thu, Feb 6, 2014 at 8:56 AM, ericnc <ericnc@...> wrote:
Hi Hugh,

yes I've been successful using the "modpoll" utility.
My VFD is a Schneider one, I've bought a USB interface (made from Schneider too) that converts from USB to modbus.
That's made for using their own VFD setup application but luckily, as I hoped, once its drivers are installed they create a virtual COM port and the modpoll utility manages to talk with it via the COM port.

I am willing to help (also we can talk on the mailing list, I never use this email directly) but I really know nothing about Huanyang spindle!
I am a bit in difficulty myself, I can only tell what I've done in my own setup

EC


On 05/02/2014 23:42, Hugh Sontag wrote:> Hi Eric,
>
> I'm working on getting my VFD to accept commands from KFLOP via RS-485.
>
> I noticed that you've been successful sending commands to your VFD via a
> USB adapter.
>
> What VFD are you using? Mine is a Huanyang 2.2 KW spindle. It has an
> RS-485 port.
>
> If you also have a Huanyang spindle, could you tell me what commands you
> send to it? I believe you're using modpoll. I've not yet been able to
> get the VFD to respond to the things I've sent it, and I'm hoping to get
> modpoll to talk to it, so I can learn what might be needed to make the
> KFLOP-direct connection work.
>
> Thanks for the info,
>
> Hugh Sontag
>